package com.apexcode.friend.service.user;

import com.apexcode.common.core.domain.R;
import com.apexcode.common.core.domain.vo.LoginUserVO;
import com.apexcode.friend.domain.user.dto.UserDTO;
import com.apexcode.friend.domain.user.dto.UserUpdateDTO;
import com.apexcode.friend.domain.user.vo.UserVO;

/**
 * @ClassName IUserService
 * @Description
 * @Author ZJX
 * @Date 2025/2/4 15:17
 * @Version 1.0
 **/
public interface IUserService {
    boolean sendCode(UserDTO userDTO);

    String codeLogin(String phone, String code);

    boolean logout(String token);

    R<LoginUserVO> info(String token);

    UserVO detail();

    int updateHeadImage(String headImage);
}
